﻿namespace BoxBinary.AspectCache.Core.ErrorLogging
{
    public interface ISimpleLogger
    {
        /// <summary>
        /// Sets up logging for this Index Generation Job Worker.
        /// </summary>
        void InitialiseLogging();

        /// <summary>
        /// Stops logging activities performed by the site object.
        /// </summary>
        void CloseLogging();

        /// <summary>
        /// Logs the supplied message to the site log file.
        /// </summary>
        /// <param name="message">The message to be logged.</param>
        void WriteToLog(string message);
    }
}